package com.miaosha.ms_03.service;

import com.miaosha.ms_03.dao.UserDao;
import com.miaosha.ms_03.domain.User;
import com.miaosha.ms_03.redis.JedisService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description //TODO
 * @Author Administrator
 * @DATE 2020/9/13 17:00
 **/
@Service
public class UserService {

    @Resource
    private UserDao userDao;

    @Resource
    private JedisService jedisService;

    public User getUserById(String id) {
        return userDao.getUserById(id);
    }
}
